package objects;

public class GameServer
{
	private byte _id;
	private byte _state;
	private byte _completion;
	private String _address;
	private short _port;
	private InterServerThread _interThread;
	private boolean _useIP;
	
	public GameServer(byte id, byte state, byte completion, String address, short port, boolean ip, InterServerThread ist)
	{
		_id = id;
		_state = state;
		_completion = completion;
		_address = address;
		_port = port;
		_interThread = ist;
		_useIP = ip;
	}
	
	public byte getId()
	{
		return _id;
	}
	
	public byte getState()
	{
		return _state;
	}
	public byte getCompletion()
	{
		return _completion;
	}
	public InterServerThread getInterServThread()
	{
		return _interThread;
	}

	public void setState(byte i)
	{
		_state = i;
	}
	
	public boolean isUsingIpAddress()
	{
		return _useIP;
	}

	public String getAddress()
	{
		return _address;
	}

	public short getPort()
	{
		return _port;
	}
}
